<template>
  <div class="nodataContainer">
    <img src="@/assets/wushuju@3x.png" alt="" />
    <p>{{noDataText}}</p>
  </div>
</template>
<script>
export default {
  props:['noDataText'],
  mounted(){
    this.noDataText = this.noDataText?this.noDataText:'暂无数据'
  }
};
</script>
<style lang="less">
.nodataContainer {
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  img {
    width: 230px;
  }
  p {
    color: #313541;
    font-size: 14px;
  }
}
</style>